//
//  EntrustInfoModel.h
//  BTCoin
//
//  Created by Robin on 23/03/2018.
//  Copyright © 2018 Robin. All rights reserved.
//
//  最近成交记录

#import "BaseModel.h"
#import "FVirtualCoinTypeModel.h"
#import "FTradeMappingModel.h"
#import "FAddTimeModel.h"

@protocol FTradeMappingModel,EntrustModel;

@interface EntrustModel : BaseModel
@property (nonatomic,assign) NSInteger famount;
@property (nonatomic,assign) NSInteger fcount;
@property (nonatomic,strong) FAddTimeModel * fcreateTime;
@property (nonatomic,assign) NSInteger fentrustType;
@property (nonatomic,assign) double ffees;
@property (nonatomic,assign) NSInteger fhasSubscription;
@property (nonatomic,assign) long long fid;
@property (nonatomic,assign) NSInteger fisLimit;
@property (nonatomic,strong) FAddTimeModel * flastUpdatTime;
@property (nonatomic,assign) NSInteger fleftCount;
@property (nonatomic,assign) double fleftfees;
@property (nonatomic,assign) double fprize;
@property (nonatomic,assign) NSInteger fstatus;
@property (nonatomic,assign) NSInteger fsuccessAmount;
@property (nonatomic,copy) NSString * u_fid;
@property (nonatomic,assign) NSInteger version;
@end

@interface EntrustInfoModel : BaseModel
@property (nonatomic,assign) NSInteger currentPage;
@property (nonatomic,strong) NSArray<EntrustModel*><EntrustModel> * fentrusts;
@property (nonatomic,strong) FTradeMappingModel * ftrademapping;
@property (nonatomic,strong) NSArray<FTradeMappingModel*><FTradeMappingModel> * ftrademappings;
@property (nonatomic,assign) NSInteger symbol;
@property (nonatomic,assign) NSInteger pagin;
@end
